package com.sgzn.sgpay.service;

import com.sgzn.sgpay.model.request.SgsMchPrivBatchAddRequest;
import com.sgzn.sgpay.model.request.SgsRefreshPrivRequest;
import com.sgzn.sgpay.model.response.SgsResultResponse;

/**
 * 商户权限管理服务
 * @author zhongzhongyong
 * @version Id: SgsMchPrivManageService.java, v 0.1 2018/5/27 17:17 zhongzhongyong Exp $$
 */
public interface SgsMchPrivManageService {

    /**
     * 按照商户Id批量新增
     * @param request
     * @return
     */
    SgsResultResponse<String> batchInsertByMchId(SgsMchPrivBatchAddRequest request);

    /**
     * 更新所有主商户的权限列表
     * @param request
     * @return
     */
    SgsResultResponse<String> refreshMainMchPriv(SgsRefreshPrivRequest request);
}
